<template>
  <div class="home">
    <h2>首页</h2>
  </div>
</template>

<script lang="ts">
import { getCurrentInstance } from 'vue'
export default {
    setup() {
        const { proxy } = getCurrentInstance()
        proxy.$API.user.getUserInfo('/').then(res =>{
            console.log('res---',res);
        })
    }
}
</script>

<style>

</style>